package com.lxc.infrastructure.persistent.dao;

import com.lxc.domain.operation.model.entity.OPApplicationInterfaceEntity;
import com.lxc.infrastructure.persistent.po.ApplicationInterface;
import com.lxc.types.common.OperationRequest;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author lxc18
 * @date 2024/12/19 15:32
 * @description IApplicationInterface
 */
@Mapper
public interface IApplicationInterfaceDao {
    //添加接口方法，传入参数为ApplicationInterface实体
    void insert(ApplicationInterface applicationInterface);

    List<ApplicationInterface> getApplicationInterfaceBySystemId(String systemId);

    //这里能够直接传参OperationRequest吗？
    List<ApplicationInterface> queryApplicationInterfaceListByPage(OperationRequest<OPApplicationInterfaceEntity> request);

    int queryApplicationInterfaceListCountByPage(OperationRequest<OPApplicationInterfaceEntity> request);



}
